import { createStore } from 'vuex'

export default createStore({
  namespaced: true,
  state: {
    denglu:false,
    user:[],
    fName:"",
    cinemaId:"",
    fid:"",
  },
  getters: {
  },
  mutations: {
    sendName(state,sendName){
      // console.log("store",sendName)
      state.fName = sendName
    },
    sendCid(state,sendCid){
      state.cinemaId = sendCid;
      console.log(sendCid)
    },
    filmId(state,filmId){
      state.fid = filmId;
      console.log(filmId);
    }
  },
  actions: {
  },
  modules: {
  }
})
